<template>
  <n-space justify="center">
    <template v-for='item in buttonList'>
      <n-button n-button :size='item.size' :type='item.type' :onClick='item.onClick' >{{ item.title }}</n-button>
    </template>
  </n-space>
</template>

<script lang='ts'>

  import { defineComponent } from 'vue'

  export default defineComponent ({
    name: 'OperateButton',
    props: {
      buttonList: {
        type: Array,
        default: []
      }
    }
  })

</script>

<style lang='stylus' scoped>
</style>